package org.gsc.mygsclib.commonutils;

import android.content.Context;
import android.net.wifi.WifiInfo;
import android.net.wifi.WifiManager;
public class MacAddressUtils {
	public static String getLocalMacAddress(Context ctx) {  
	    WifiManager wifi = (WifiManager) ctx.getSystemService(Context.WIFI_SERVICE);  
	    WifiInfo info = wifi.getConnectionInfo();  
	    return info.getMacAddress();  
	  }  
}
